package de.dhbw.horb.inf2013.vierFarbenProblem.view.gui;

import java.awt.Toolkit;

import javax.swing.JLabel;

/**
 * The Class Info.
 */
public class Info extends javax.swing.JFrame{
	
	/**
	 * Instantiates a new info.
	 */
	public Info() {
		initComponents();
		setIcon();
	}

	/**
	 * Inits the components.
	 */
	private void initComponents() {
		setSize(600, 600);
		setTitle("Info");
		setResizable(false);
		JLabel jLabelInfo = new JLabel("");
		jLabelInfo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/de/dhbw/horb/inf2013/vierFarbenProblem/view/gui/files/VierFarbenInfo.jpg")));
		jLabelInfo.setBounds(0, 0, 824, 522);
		getContentPane().add(jLabelInfo);
		setLocationRelativeTo(null);
		setVisible(true);
		
	}

    /**
     * Sets the icon.
     */
    private void setIcon() {
        setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource("/de/dhbw/horb/inf2013/vierFarbenProblem/view/gui/files/VierFarbenLogo.png")));
    }
}
